package com.xyy.saas.payment.common.constants;

import java.sql.Date;

public final class MqConstant {

    /**
     *
     */
    public static final Integer SEND_TIME_OUT = 1000;


    //"1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h"
    /**
     * 延迟级别
     */
    public static final int[] DELAY_LEVELS = {1,3,5,14,16};

    /**
     * 延迟级别
     */
    public static final int[] WITHDRAW_DELAY_LEVELS = {10,12,13,14,17};

    /**
     * 延迟级别通用
     */
    public static final int[] COMMON_DELAY_LEVELS = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};

    public static void main(String[] args) {
        String date = "2019-12-25 16:29:59";
        Date date1 = Date.valueOf(date);
        System.out.println(date1.getTime());
    }

}